libs/libs.mk: Rework target headers.chk dependencies
authorAnthony PERARD <anthony.perard@citrix.com>
Mon, 15 Aug 2022 06:55:36 +0000 (08:55 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 15 Aug 2022 06:55:36 +0000 (08:55 +0200)
commit7547268c359eeef1a4d8e578c612e7cc9350992d
treea756da780b49087981a58818f0d78178cf0cf569
parent5e49cfcaf03180209b5be79093349c1abd0d0269
libs/libs.mk: Rework target headers.chk dependencies

There is no need to call the "headers.chk" target when it isn't
wanted, so it never need to be .PHONY.

Also, there is no more reason to separate the prerequisites from the
recipe.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
tools/libs/libs.mk